window.onload = function() {
    doubleBgColor(document.getElementById("styletableborder"),"#ffffff","#f4f4f4")
}

function doubleBgColor(Table,Bg1,Bg2) {
    for (var i=0;i<Table.rows.length;i++) Table.rows[i].bgColor=i%2?Bg2:Bg1;
}
